package cn.bdqn.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.bdqn.mapper.SalaryStandMapper;
import cn.bdqn.pojo.SalaryStand;
import cn.bdqn.service.SalaryStandService;

@Service("SalaryStandService")
public class SalaryStandServiceImpl implements SalaryStandService{

	@Resource
	public SalaryStandMapper salaryMapper;
	
	
	@Override
	public List<SalaryStand> findSelect(SalaryStand Sas) {
		List<SalaryStand> list=salaryMapper.findSelect(Sas);
		return list;
	}


	@Override
	public int modifySalary(SalaryStand Sas) {
		int result=salaryMapper.modifySalary(Sas);
		return result;
	}


	@Override
	public int delSalary(Integer salaryStandId) {
		int result=salaryMapper.delSalary(salaryStandId);
		return result;
	}


	@Override
	public SalaryStand findSalaryCode(Integer salaryStandId) {
		SalaryStand sd=salaryMapper.findSalaryCode(salaryStandId);
		return sd;
	}

}
